<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        let arr = [23,45,900,101,84,100];
        let res1 = arr.find((val, index, arr) => {
            return val >100
        })
    
        let res2 = arr.findIndex((val, index, arr) => {
            return val >100
        })
        console.log(res1);
        console.log(res2);
    </script>
</head>
<body>
    
</body>
</html>